home *** CD-ROM | disk | FTP | other *** search
- Path: yama.mcc.ac.uk!dmu!usenet
- From: Chris Sumner <se2cs@dmu.ac.uk>
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Serial.device questions
- Date: Mon, 11 Mar 1996 20:38:13 +0000
- Organization: De Montfort University, Central Newsserver Leicester UK
- Message-ID: <31448F35.41C6@dmu.ac.uk>
- References: <4i1akt$hs1@sullivan.ucc.hull.ac.uk>
- NNTP-Posting-Host: sargent.cms.dmu.ac.uk
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; OSF1 V3.2 alpha)
-
- J.E.Hollingsworth wrote:
- >
- > I'm having a few problems programming the serial.device, and I was
- > wondering if anyone would know the answers to these questions:
- >
- > 1) Is there any way of checking how many bytes are in
- > the serial buffer before reading from it?
- > I tried using CheckIO(), but I'm not sure its for this
- > purpose.
-
- PROC unreadChars() OF serialinfo
- self.cerinIO.iostd.command:=SDCMD_QUERY
- DoIO(self.cerinIO)
- ENDPROC self.cerinIO.iostd.actual
-
- for the rest of this file, check out:
-
- http://www.cms.dmu.ac.uk/~se2cs/estuff/my_modules/serio.e
-
- >
- > 2) I need to turn off CTS/RTS handshaking, is there a
- > way of doing it through the operating system?
-
- Not sure of that one...
-
- --
- Chris Sumner | se2cs@dmu.ac.uk | http://www.cms.dmu.ac.uk/~se2cs
-